<template>
  <el-card class="box-card" style="width: 1180px">   
    <div slot="header" class="clearfix">
      <el-form :inline="true" :model="query">
        <el-form-item>
          <el-button type="success"
            >银行账户详情</el-button
          >     
        </el-form-item>
      </el-form>
    </div>      
    <el-table :data="accList" border style="width: 100%">
        <el-table-column prop="accountBank" label="名称" >
</el-table-column>
      <el-table-column prop="accountNo" label="银行账号" >
      </el-table-column>
      <el-table-column prop="accountType" label="类型" >
</el-table-column>
      <el-table-column prop="accountCurrency" label="币种">
      </el-table-column>
        <el-table-column prop="accountRevenue" label="收入">
      </el-table-column>
      <el-table-column prop="accountOutlay" label="支出">
      </el-table-column>
    </el-table>
  </el-card>
</template>
<script>
export default {
  data() {
    return {
        accList:[],
      query:{
      },
      addForm:{},
      updateForm:{},
    };
  },
  methods: {
    loadAccs(){
        this.$axios.post("/contracts/aall")
        .then(res=>{
            this.accList=res.data.data.list;
        })
    },
  },
  mounted(){
    this.loadAccs();
  }
};
</script>